home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
c
/
unixSyscall
/
RCS
/
_exit.c,v
next >
Wrap
Text File
|
1991-10-01
|
2KB
|
90 lines
head 1.1;
branch ;
access ;
symbols sprited:1.1.1;
locks ; strict;
comment @ * @;
1.1
date 88.06.19.14.31.00; author ouster; state Exp;
branches 1.1.1.1;
next ;
1.1.1.1
date 91.10.01.19.55.46; author kupfer; state Exp;
branches ;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@/*
* _exit.c --
*
* Procedure to map from Unix _exit system call to Sprite.
*
* Copyright 1986 Regents of the University of California
* All rights reserved.
*/
#ifndef lint
static char rcsid[] = "$Header: _exit.c,v 1.3 87/02/08 20:37:23 douglis Exp $ SPRITE (Berkeley)";
#endif not lint
#include "sprite.h"
#include "proc.h"
#include "compatInt.h"
/*
*----------------------------------------------------------------------
*
* _exit --
*
* Procedure to map from Unix _exit system call to Sprite Proc_RawExit.
*
* Results:
* _exit() should never return. If it does, however, UNIX_ERROR is
* returned.
*
* Side effects:
* Any open streams are closed, then the process invoking _exit() is
* terminated.
*
*----------------------------------------------------------------------
*/
int
_exit(exitStatus)
int exitStatus; /* process's termination status */
{
Proc_RawExit(exitStatus);
/*
* We should never reach this point, regardless of status value.
*/
errno = Compat_MapCode(FAILURE);
return(UNIX_ERROR);
}
@
1.1.1.1
log
@Initial branch for Sprite server.
@
text
@d11 1
a11 1
static char rcsid[] = "$Header: /sprite/src/lib/c/unixSyscall/RCS/_exit.c,v 1.1 88/06/19 14:31:00 ouster Exp $ SPRITE (Berkeley)";
@